<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <style>
        .box{
            padding: 10px;
            display: inline-block;
            border: 1px solid rebeccapurple;
        }
        input{
            padding: 0  10px;
        }
        li{
            padding: 20px 0;
           border-bottom: 1px solid black ;
        }
    </style>
</head>
<body>
    <div class="box">
        <span>测试</span>
        
    </div>
    <div>
    <input type="text"></div>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>45</li>
        <li>5</li>
    </ul>

</body>
</html>